//
//  Person.h
//  05_homework_排序
//
//  Created by dllo on 16/7/8.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
@property(nonatomic, retain) NSString *name;
@property(nonatomic, assign) NSInteger age;
@property(nonatomic, retain) NSString *sex;
- (NSComparisonResult)compareAge:(Person *)anotherElement;
- (NSComparisonResult)compareName:(Person *)anotherElement;
- (NSComparisonResult)compareSex:(Person *)anotherElement;
@end
